html {
  -webkit-font-smoothing: antialiased;
  font-size: 0.9rem;
}

body {
  background-color: #f4f4f4;
}

main {
  display: grid;
}

strong {
  font-weight: 500;
  color: #6aa828;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 0 4px;
  border-radius: 2px;
}

b {
  font-weight: 500;
}

.theme-dark strong {
  background-color: rgba(255, 255, 255, 0.2);
}

p,
.markdown div > ul > li {
  font-size: 1.1rem;
  line-height: 1.8rem;
}

div > h2 {
  margin-bottom: 1rem;
}

.markdown pre {
  margin: 0;
  font-size: 0.9rem;
}

.markdown pre .language-jsx,
.markdown pre .language-html {
  font-size: 1rem;
}

.markdown pre span.prism-code {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.markdown pre + p {
  margin-top: 1rem;
}

.markdown h2 {
  margin-bottom: 2rem;
}

.markdown h4 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ccc;
}

.markdown * + * > h4,
.markdown * + h4 {
  margin-top: 3rem;
}

.markdown blockquote {
  border-left: 0.5rem solid #ccc;
  padding-left: 1rem;
  margin-left: 3rem;
  font-style: italic;
}

.markdown ol {
  margin-left: -1.5rem;
  font-weight: 600;
}

.markdown table {
  width: 100%;
}

.markdown th {
  font-weight: 600;
}

.markdown table,
.markdown th,
.markdown td {
  border: 1px solid #ccc;
}

.toc-h5,
.toc-h6 {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  html,
  .markdown pre,
  .markdown pre .language-jsx {
    font-size: 0.9rem;
  }
}

.theme-dark td {
  color: #fff;
}

.theme-dark tr:hover td {
  color: #333;
}

.theme-dark .card {
  background-color: #333;
}

.lds-hourglass {
  margin: 1rem;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

i[class^="material-icons"] {
  max-width: 24px;
}

.lds-hourglass:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 8px;
  box-sizing: border-box;
  border: 32px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-hourglass 1.2s infinite;
}

@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  100% {
    transform: rotate(1800deg);
  }
}
